package com.csc.mapper;

import com.csc.entity.Allocation;
import java.util.List;

public interface AllocationMapper {
    void allocate(Allocation allocation);
    void updateAvailableBeds(Long dormitoryId, Integer change);
    List<Allocation> findByStudentId(Long studentId);
    List<Allocation> findByDormitoryId(Long dormitoryId);
    void cancelAllocation(Long studentId);
}